<include file="Public:header" />


<!-- main -->
<div class="main of" id="data-bar" data-type="site" data-id="{$data['site']['info']['id']}">
     <div class="con">
          <!--广告-->
          <div class="ad mt20">
          <if condition="!APP_DEBUG">
			<script type="text/javascript">
            /*hua_头部*/
            var cpro_id = "u1509689";
            </script>
            <script src="http://cpro.baidustatic.com/cpro/ui/c.js" type="text/javascript"></script>   
          </if>
          </div>

          <!--当前位置-->
          <div class="position">
               <div class="left">
               当前位置 : <a href="/">花卉网</a> > <a href="{$data['category']['info']['url']}">{$data['category']['info']['name']}</a> > {$data['site']['info']['name']}
               </div>
               <div class="right">
                   <div class="xinlang">
                   
                   </div>
                   <div class="qq">
                   <iframe src="http://open.qzone.qq.com/like?url=http%3A%2F%2Fuser.qzone.qq.com%2F564069448&type=button_num&width=400&height=30&style=3" allowtransparency="true" scrolling="no" border="0" frameborder="0" style="width:400px;height:30px;border:none;overflow:hidden;"></iframe>
                   </div>
               </div>
          </div>

          <div class="mainleft">
              <!--资讯-->
              <div class="news fl mt10">
                   <div class="title"><h2>热门推荐</h2><span class="newsmore"></span></div>
                   <ul>
                       <volist name="data['article']['hot']['list']" id="val">
                       <li>
                           <div class="t"><a href="{$val['url']}" title="{$val['title']}">{$val['title']}</a></div>
                           <div class="ts">{:cut_str($val['text200'],35)}</div>
                       </li>
                       </volist>
                   </ul>
              </div>
    
              <!--广告-->
              <div class="boxad mt10">
              <if condition="!APP_DEBUG">
                <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
                <!-- hua_文章内容_左1 -->
                <ins class="adsbygoogle"
                     style="display:inline-block;width:250px;height:250px"
                     data-ad-client="ca-pub-3893983133159171"
                     data-ad-slot="1988500925"></ins>
                <script>
                (adsbygoogle = window.adsbygoogle || []).push({});
                </script>   
              </if>       
              </div>
    
              <!--猜你喜欢-->
              <div class="love mt10">
                   <div class="title"><h2>猜你喜欢</h2></div>
                   <ul>
                   <volist name="data['article']['love']['list']" id="val">
                       <li><a href="{$val['url']}" title="{$val['title']}">{:cut_str($val['title'],19)}</a></li>
                   </volist>
                   </ul>
              </div>
    
              <div class="clear"></div>
    
              <!--广告-->
              <div class="boxad mt10 hide">
    
              </div>

          </div>



          <div class="mainright">

               <ul class="bt">
                   <volist name="data['category']['list']" id="val">
                   <li><a href="{$val['url']}" <if condition="$data ['category'] ['info']['id'] eq $val['id']">class="hover"</if>>{$val['name']}</a></li>
				   </volist>
               </ul>

               <div class="imgadlist mt10">
                    
                      <img src="{:C('status_url')}/home/images/imgad03.jpg"/>
                      <div class="text">
                           <div class="textl">
                                <h2 class="title03">{$data['category']['info']['name']}</h2>
                                <div class="titles clearfix" title="{$data['category']['info']['intro']}">
                                    {$data['category']['info']['intro']}
                                </div>
                           </div>
                           <div class="textr" title="微信订阅号搜索：花卉信息网">
                                <div class="title">养花QQ群：<span>(微信：花卉信息网)</span></div>
                                <div class="titles">
                                     <div>1群:136225618</div>    
                                     <div class="textright">2群:166258639</div>
                                     <div>3群:173982946</div>
                                     <div class="textright">4群:173983036</div>  
                                </div>
                           </div>
                      </div>  
                 
               </div>

               <!--内容-->
               <div class="article mt20">
                    <h1 class="title">{$data['site']['info']['name']}</h1>
                    <div class="info">
						<div class="kspan">
                             <span class="num"><img src="{:C('status_url')}/home/images/bg01.jpg" />{$data['site']['info']['viewnum']} 人浏览</span>
                             <span class="data"><img src="{:C('status_url')}/home/images/bg02.jpg" />{$data['site']['info']['updatedata']} 最后更新</span>
                             <span class="tag">{:tag_to_url($data['site']['info']['keyword'])}</span>
                         </div>                    
						<div class="content">
                            <if condition="$data['site']['info']['thumb500']">
                            	<if condition="count($data['site']['info']['photo']['itmes'])">

                                    <div class="thumbs">  
                                        <a href="{$data['site']['info']['url']}tupian/">
                                          <div class="thumb"><div class="icon"><span>{$data['site']['info']['name']}相册</span></div></div> 
                                          <img src="{$data['site']['info']['thumb500']}" alt="{$data['site']['info']['name']}" border="0" alt="{$data['site']['info']['name']}" style="min-height:300px; min-width:300xp;" />
                                        </a>
                                    </div>
     
                                <else />
                            	<p align="center"><img src="{$data['site']['info']['thumb500']}" alt="{$data['site']['info']['name']}" border="0"  alt="{$data['site']['info']['name']}" /></p>
                            	</if>
                            </if>

                            {$data['site']['info']['context']}
                            
                           <div align="center" style="margin:70px auto;">
                            <iframe src="http://open.qzone.qq.com/like?url=http%3A%2F%2Fuser.qzone.qq.com%2F564069448&type=button_num&width=400&height=30&style=3" allowtransparency="true" scrolling="no" border="0" frameborder="0" style=" width:110px;height:30px;border:none;overflow:hidden;"></iframe>
                            <img src="{:C('status_url')}/home/images/wechat_card.png" alt="微信订阅号：花卉信息网" border="0" />
                           </div>
                                                        
                            <div class="mt20" align="center">
								<script type="text/javascript">
                                /*hua_文章内容_正文*/
                                var cpro_id = "u1509698";
                                </script>
                                <script src="http://cpro.baidustatic.com/cpro/ui/c.js" type="text/javascript"></script>                            
                            </div>
                            
                         </div>
                    </div>
               </div>

               <div class="lovebt">

                    <div align="center"><div class="bdlikebutton"></div>
					<script id="bdlike_shell"></script><script>
						var bdShare_config = {
							"type":"large",
							"color":"green",
							"uid":"185388",
							"share":"yes"
						};
						document.getElementById("bdlike_shell").src="http://bdimg.share.baidu.com/static/js/like_shell.js?t=" + Math.ceil(new Date()/3600000);
					</script></div>


               </div>
               <div class="clear"></div>

               <!--猜你喜欢-->
               <div class="youlove" style="min-height:150px;">
                	<script>document.write(unescape('%3Cdiv id="hm_t_31191"%3E%3C/div%3E%3Cscript charset="utf-8" src="http://crs.baidu.com/t.js?siteId=ad980f0e0af39ca0f1ad2b05938905e2&planId=31191&async=0&referer=') + encodeURIComponent(document.referrer) + '&title=' + encodeURIComponent(document.title) + '&rnd=' + (+new Date) + unescape('"%3E%3C/script%3E'));</script>                                  
                    <div class="title hide">推荐花卉</div>
                    <ul>
                    <volist name="data['site']['top']['list']" id="val">
                        <li>
                          <a href="{$val['url']}" title="{$val['name']}"><img src="{$val['thumb150']}" alt="{$val['name']}" /><span></span><div class="text">{$val['name']}</div></a>
                        </li>
                    </volist>
                    </ul>
               </div>

               <!--评论区域-->
               <div class="pl mt10 home-comment-list">
                    <div class="title">共 {:count($data['comment']['list'])} 条评论</div>
                    <ul>
                    <volist name="data['comment']['list']" id="val" empty='暂无评论'>
                        <li>
                            <div class="left"><img src="{$val['avatar']}" width="50" height="50" /></div>
                            <div class="right">
                                 <div class="info">
                                      <div class="name">{$val['username']}</div>
                                      <div class="time">{$val['createtime']}</div>
                                 </div>
                                 <div class="content">
                                      {$val['text200']}
                                 </div>
                            </div>
                        </li>
                    </volist>
                    </ul>
                    <if condition="$data['comment']['next_page']"><p data-page="{$data['comment']['next_page']}" class="home-comment-nextbtn"><a href="javascript:" onclick="getComment({:intval($data['site']['info']['id'])},'site')">下一页</a></p></if>
               </div>

               <!--转载区域-->
               <div class="zz mt20">

                    <div class="bdsharebuttonbox"><a href="#" class="bds_more" data-cmd="more"></a><a title="分享到QQ空间" href="#" class="bds_qzone" data-cmd="qzone"></a><a title="分享到新浪微博" href="#" class="bds_tsina" data-cmd="tsina"></a><a title="分享到腾讯微博" href="#" class="bds_tqq" data-cmd="tqq"></a><a title="分享到人人网" href="#" class="bds_renren" data-cmd="renren"></a><a title="分享到微信" href="#" class="bds_weixin" data-cmd="weixin"></a></div>
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"32"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];
</script>

               </div>
               <div class="clear"></div>

               <!--评论text-->
               <div class="pltext mt10 home-comment-form">
                      <textarea name="context" id="textarea" class="pltextarea" cols="45" rows="5" <if condition="!get_cookie('uid')"> </if> ></textarea>
                      <input type="hidden" name="obj_type" value="site" />
                      <input type="hidden" name="obj_id" value="{$data['site']['info']['id']}" />
                      <span style="color:red;"></span><input type="button"class="plbt home-comment-btn" />
               </div>
               <div class="clear"></div>

          </div>


     </div>
</div>

<script>
$('document').ready(function(){
	addView();
	var imgleft = (675 - parseInt($(".thumbs img").css("width")))/2;
	var imgTop = parseInt($(".thumbs img").css("height")) - 15;
	$(".thumb").css({"left":imgleft+"px","top":imgTop+"px"});
	$('.thumbs a img').css('width','');
	
	//猜你喜欢固
	var loveOjb = $('.mainleft .love');
	var newsObj = $('.mainleft .news');
	var loveTop = loveOjb.offset().top;
	$(window).bind("scroll", function(){ 
		newsLeft = newsObj.offset().left;
		position = $(window).scrollTop();  
		loveOjb.attr('aattt',position);
		if(position>loveTop){
			loveOjb.css({'top':'42px','left':newsLeft,'position': 'fixed','background':'#fff'});
		}else{
			loveOjb.css({'top':'','left':newsLeft,'position': '','background':'#fff'});
		}
	});	 
	
});
</script>
<!--[if lte IE 7]>
<script> 
$('document').ready(function(){
	var imgleft = (675 - parseInt($(".thumbs img").css("width")))/2;
	var imgTop = parseInt($(".thumbs img").css("height")) - 25;
	$(".thumb").css({"left":imgleft+"px","top":imgTop+"px"});
	$(".thumb").hover(function(){
		$(this).css({"filter":"alpha(opacity=60)","-moz-opacity":"0.6","opacity":"0.6"});
	},function(){
		$(this).css({"filter":"alpha(opacity=70)","-moz-opacity":"0.7","opacity":"0.7"});
	});
	$(".thumb .icon").hover(function(){
		$(this).css({"background":"url(/Public/home/images/look.png) no-repeat 5px -24px"});
	},function(){
		$(this).css({"background":"url(/Public/home/images/look.png) no-repeat 5px 4px"});
	});
});
</script>
<![endif]-->

<include file="Public:footer" />
